package com.bank.backend.boot.server.mapper;


import com.bank.backend.boot.base.model.entity.BankUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author JiaoWei
* @description 针对表【bank_user】的数据库操作Mapper
* @createDate 2025-03-24 16:59:07
* @Entity com.bank.backend.model.entity.BankUser
*/
@Mapper
public interface BankUserMapper extends BaseMapper<BankUser> {
    BankUser getBankUserByPhone(String phone);

    int registerBankUser(BankUser newBankUser);

    BankUser getBankUserByBankNumber(@Param("bankNumber") String bankNumber);
}




